<!DOCTYPE html>
<html lang="en">

<head>

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-148707527-1"></script>
    <script>
        window.dataLayer = window.dataLayer || [];

        function gtag() {
            dataLayer.push(arguments);
        }
        gtag('js', new Date());

        gtag('config', 'UA-148707527-1');
    </script>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Mike A. Merrill</title>

    <meta name="description" content="Source code generated using layoutit.com">
    <meta name="author" content="LayoutIt!">

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <link
        href="https://fonts.googleapis.com/css?family=Noto+Sans+HK:100,300|Barlow+Condensed|PT+Mono|PT+Serif&display=swap"
        rel="stylesheet">

</head>

<body>

    <div class="container-fluid">
        <div class="row">
            <div class="jumbotron">
                <div class="row">
                    <h3>
                        Postdoc @ Stanford
                    </h3>
                </div>
                <div class="row">
                    <div class="col-md-2 hide-on-small">
                        <div class="image-cropper ">
                            <img src="./resources/headshot.jpeg" alt="avatar" class="profile-pic">
                        </div>
                    </div>
                    <div class="col-md-10" id="name">
                        <h1>
                            Mike Merrill
                        </h1>
                    </div>

                    </row>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-md-5">
                <h2>
                    About Me
                </h2>
                <p>
                    {% capture temp %}{% include about.md %}{% endcapture %} {{ temp | markdownify }}
                </p>
            </div>
            <div class="col-md-4">
                <h2>
                    Research Interests
                </h2>
                <ul>
                    {% capture temp %}{% include interests.md %}{% endcapture %} {{ temp | markdownify }}
                </ul>
            </div>
            <div class="col-md-3">
                <h2>
                    More on Me
                </h2>
                <ul>
                    {% capture temp %}{% include contact.md %}{% endcapture %} {{ temp | markdownify }}
                </ul>
            </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                <h2>Publications</h2>
                {% assign sorted_pubs = site.publications | sort: 'year' | reverse %}
                {% for pub in sorted_pubs %}
                <div class="row">
                    <div class="col-md-3 hide-on-small">
                        {% if pub.thumb_path %}
                        <img src="{{pub.thumb_path}}" alt="..." class="img-thumbnail"> {% endif %}

                    </div>
                    <div class="col-md-9">
                        <p><b>{{pub.title}}</b></p>
                        <p>
                            {% if pub.author contains "Michael Merrill" %}
                            {% assign a = pub.author | split: 'Michael Merrill' %}
                            {{a[0]}}<span class="author">Michael Merrill</span>{{a[1]}}
                            {% elsif pub.author contains "Mike A. Merrill*" %}
                            {% assign a = pub.author | split: 'Mike A. Merrill' %}
                            {{a[0]}}<span class="author">Mike A. Merrill*</span>{{a[1]}}
                            {% elsif pub.author contains "Mike A. Merrill" %}
                            {% assign a = pub.author | split: 'Mike A. Merrill' %}
                            {{a[0]}}<span class="author">Mike A. Merrill</span>{{a[1]}}

                            {% endif %}
                        </p>
                        <p><span class="venue">{{pub.venue}}</span>, {{pub.year}} {% if pub.pdf_path %}
                            <a href="{{pub.pdf_path}}">[PDF]</a> {% endif %}
                            {% for link in pub.other_links %}
                            <a href="{{link.url}}">[{{link.name}}]</a>
                            {% endfor %}
                            {{pub.notes}}
                        </p>
                    </div>

                </div>
                {% endfor %}
            </div>

        </div>

    </div>

    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/scripts.js"></script>
</body>
<footer>

</footer>

</html>